Week 2
ToDo
October 13, 2023
- CCTV GIS+Prediction: Porting the latest code to our git repo and testing - ongoing
- First nb complete 2 and 3 are in progress
- Discussing with Srujana on how to run batch prediction for set of images
October 12, 2023
- CCTV GIS+Prediction: Porting the latest code to our git repo and testing - ongoing
- Integrating wandb with scikit learn in the random tree training
October 11, 2023
Had a call with Srujana on the issues of CCTV-Apps and
pipacting weird on MicroCenter.CCTV-Appsissue was actually due to bad csv files used for the input. Updating the csv files fixes it.MicroCenterpipissue: The cause was the same issue we found ongqc-utility-notebookspackage trial.condaactivate calls virtual environments on top of each other as it seems. And that causes issues forpipin resolving the correct python installation to use and it reverts back to global installation which is problematic.- Introduce a new alias,
codaforconda deactivate, which we should be using to explicitly exit from an environment before switching to another.
CCTV-Apps documentation update
- Docs should be refreshed to reflect the latest status of the apps
- Draw a mermaid diagram for the dataflow for each app.
Documented Vannary's reply on GIS+Prediction project
October 10, 2023
- Setting up remote login to
microcenterandMSImachines with SSH keys. Assuming your local machine is running on Windows. Similar commands are available for linux.- In your local machine (Windows), open a terminal window and run
ssh-keygen -t ed25519.- Give a unique name to the file. For example, I'm using
C:/Users/pavan/.ssh/id_ed25519_microcenteras the name. - This will generate a private key (with no extension) and a public key (with
.pubextension) - We use the private key at our end and put the public key in the remote in the next steps.
- Give a unique name to the file. For example, I'm using
- SSH to the remote machine using the password for this time. I used
VSCodeitself to connect. Copy the content of the generated.pubfile to~/<user>/.ssh/authorized_keysfile in the remote machine (linux). - In
VSCode, Open SSH configuration file by pressingctrl+shift+pand typingRemote-SSH: Open SSH Configuration File - If you already have a configuration for the same IP address, replace it with the following fields with the corresponding values. If not add these at the end of the file.
Host: Put a unique name for the machine. Doesn't affect the connectionHostName: IP address of the machineUser: Username. Typicallygqc- PreferredAuthentications: Keep this as
publickey - IdentityFile: Path to the private key file. Follow the exact same syntax as shown in the image. Note that
C:/is omitted from the path.
- In your local machine (Windows), open a terminal window and run
October 09, 2023
- Checking out the test failure issue in
gqc-utility-notebooksand fixing the different issues it had. - Identifying the correct dependencies of the
gqc-utility-notebooks.- Recognized the modules used by the python files by
pipreqsmodules. - Added the dependencies to
requirements.txt - Updated the
README
- Recognized the modules used by the python files by
- Resolving the issue with
nbdev_previewnot working outsideMSImachine.- If
nbdevpython package is installed globally, it takes precedence. - documented the details in the readme
- If